using System;
using System.Collections.Generic;
using System.Text;
using GarageGames.Torque.T2D;
using GarageGames.Torque.Core;
using GarageGames.Torque.Materials;
using Microsoft.Xna.Framework;
using Xyne.Utilities;

namespace Xyne.Templates.Card
{
    public class CardIcon : T2DStaticSprite
    {
        #region Instance
        private static CardIcon template;

        public static CardIcon Template
        {
            get            
            {
                if (template == null)
                {
                    template = new CardIcon();
                }
                return template;
            }
        }
        #endregion

        #region Members
        
        #endregion

        #region Constructor/Init
        public CardIcon()
        {
            IsTemplate = true;
            Layer = Game.CardLayer - 1;
            Size = new Vector2(26, 26);

            Name = Game.CardName + "Icon";
            ObjectType = TorqueObjectDatabase.Instance.GetObjectType(Name);
        }
        #endregion



    }
}
